Skip to content

Instantly share code, notes, and snippets.

Software Requirements Specification

Marketplace Management System | V1.0

Prepared by

  • Ahmed Abdelaziz - 120200139
  • Mohamed Kamal - 120200137
  • Bassem Gabr Ali - 120210142
@MichaelLeeHobbs
MichaelLeeHobbs / Check Slow Channels.md
Created January 29, 2026 21:31
Mirth 4.5.0 Slow Response Message Report

Mirth Connect: Check Slow Channels

A PostgreSQL function to quickly identify Mirth channels where the Source Connector is taking a long time to process messages. It aggregates statistics and lists specific Message IDs for easy troubleshooting.

1. Installation

Run this once to create the function in your Mirth database.

CREATE OR REPLACE FUNCTION check_slow_channels(
    threshold_seconds INT DEFAULT 15, 
@ChristianAlexander
ChristianAlexander / update-deps.md
Created January 29, 2026 14:58
Update Elixir Dependencies Skill

Update Elixir Dependencies

Update all outdated dependencies in this Elixir project, handling both safe updates and breaking changes.

Workflow

1. Identify Outdated Dependencies

Run mix hex.outdated to get a list of all outdated dependencies. Parse the output to identify:

  • Safe updates: Dependencies where only the patch or minor version has changed (no major version bump)
@Webreaper
Webreaper / docker-compose.yml
Last active January 30, 2026 08:41
Sample Docker-compose file which shows how to set up Sonarr, Radarr, Prowlarr, Lidarr, QBittorrent and a VPN container so that all all traffic from the containers is routed through the VPN. Also includes Plex and get_iplayer containers, which are not routed through the VPN.
# Docker compose to set up containers for all services you need:
# VPN
# Sonarr, Radarr, Lidarr, Qbittorrent
# Non-VPN
# Plex, get_iplayer
# Before running docker-compose, you should pre-create all of the following folders.
# Folders for Docker State:
# /volume1/dockerdata. - root where this docker-compose.yml should live
# /volume1/dockerdata/plex - Plex config and DB
# /volume1/dockerdata/sonarr - Sonarr config and DB
@ChenyangGao
ChenyangGao / qrcode_cookie_115
Last active January 30, 2026 08:38
115扫码登录,可选择 app,获取 cookie
@MichaelLeeHobbs
MichaelLeeHobbs / Mirth_4.5.0_TableSizeReportAdvance.sql
Created January 29, 2026 16:42
Mirth 4.5.0 Table Size Reports
WITH
-- 1. EXTRACT CONFIGURATION
CHANNEL_CONFIG AS (
SELECT
(XPATH('/entry/string/text()', ENTRY))[1]::TEXT AS CID
, (XPATH('/entry/*[2]/enabled/text()', ENTRY))[1]::TEXT::BOOLEAN AS CHANNEL_ENABLED
, (XPATH('/entry/*[2]/pruningSettings/archiveEnabled/text()', ENTRY))[1]::TEXT::BOOLEAN AS ARCHIVE_ENABLED
, (XPATH('/entry/*[2]/pruningSettings/pruneErroredMessages/text()', ENTRY))[1]::TEXT::BOOLEAN AS PRUNE_ERROR_MESSAGES
, COALESCE((XPATH('/entry/*[2]/pruningSettings/pruneMetaDataDays/text()', ENTRY))[1]::TEXT::INT, -1) AS PRUNE_DAYS
FROM (
@JavanXD
JavanXD / modbus_wgt.yaml
Last active January 30, 2026 08:35
SchwörerHaus WGT BIC VentCube Fresh Home Assistant Integration via modbus
# Helpful information:
# https://github.com/Excodibur/ioBroker.schwoerer-ventcube/blob/master/src/lib/schwoerer/parameters.ts
# https://github.com/fgoettel/wgt/blob/main/wgt/lueftungsanlage.py
# https://knx-user-forum.de/forum/öffentlicher-bereich/knx-eib-forum/diy-do-it-yourself/1822296-modbus-schwörer-heizung?p=1906252#post1906252
##################
# MODBUS SENSORS #
##################
modbus:
@C0DEbrained
C0DEbrained / k1c-2025-exploit.py
Last active January 30, 2026 08:34
Creality K1C 2025 Root Exploit
import sys
import argparse
import threading
import json
import time
from http.server import SimpleHTTPRequestHandler, HTTPServer
from urllib.parse import urlencode, quote
import websocket # pip install websocket-client

You are Grok 4 built by xAI.

When applicable, you have some additional tools:

  • You can analyze individual X user profiles, X posts and their links.
  • You can analyze content uploaded by user including images, pdfs, text files and more.
  • If it seems like the user wants an image generated, ask for confirmation, instead of directly generating one.
  • You can edit images if the user instructs you to do so.

In case the user asks about xAI's products, here is some information and response guidelines:

  • Grok 4 and Grok 3 can be accessed on grok.com, x.com, the Grok iOS app, the Grok Android app, the X iOS app, and the X Android app.
@bonlime
bonlime / get_Imagenet.sh
Last active January 30, 2026 08:32 — forked from BIGBALLON/extract_ILSVRC.sh
script for ImageNet data extract.
#!/bin/bash
#
# script to fully prepare ImageNet dataset
## 1. Download the data
# get ILSVRC2012_img_val.tar (about 6.3 GB). MD5: 29b22e2961454d5413ddabcf34fc5622
# wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012_img_val.tar
# get ILSVRC2012_img_train.tar (about 138 GB). MD5: 1d675b47d978889d74fa0da5fadfb00e
# wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012_img_train.tar